cboj-loans-prc-api
Create Loan Disbursement
Description: This endpoint is used to create loan disbursement simulation based on the below json request.
Mulesoft Request:
Headers:
Mandatory Headers: x-channel-id,x-correlation-id, x-bank-id,client_id, client_secret
Optional Headers: x-sub-channel-id,x-user-id, Authorization,x-debug-flag,x-debug-flag, x-customer-id
Paramaters:
URI Params: Na
Query Params: NA
Content-type: application/json
Mulesoft Request
{
"arrangement": "NEW",
"activity": "LENDING-NEW-ARRANGEMENT",
"customerId": "2000248",
"product": "CBOJ.PL.MAR.LOAN",
"currency": "JOD",
"amount": "1012888.183",
"term": "",
"maturityDate": "20251008",
"purposeFacility": "010",
"payinAccount": "4000921",
"payoutAccount": "4000215",
"fixedRate": "",
"interestKey": "",
"marginOper": "ADD",
"marginRate": "1",
"penaltyMarginOper": "ADD",
"penaltyMarginRate": "5",
"limitReference": "20601",
"limitSerial": "02",
"paymentStartDate": "20221215",
"paymentFreq": "e0Y e1M e0W o15D e0F",
"repaymentAmount": "",
"commissionRate": "0.20",
"primaryOfficer": "21100",
"capitalisationStartDate": "20221010",
"capitalisationEndDate": "20221110",
"linkedArrangement": "AA21039GMN66"
}
Mulesoft Response:
Success Response: (200)
{
"status": {
"success": true,
"code": "200",
"arabicMessage": "تمت العملية بنجاØ",
"englishMessage": "The Operation has been Successfully Completed"
},
"response": {
"transactionRef": "4510686",
"arrangement": "AA210397Z96D",
"activity": "20210208",
"effectiveDate": "LENDING-NEW-ARRANGEMENT",
"customer": "2000248",
"maturityDate": "20251008",
"purOfFacility": "010",
"restructure": "NO",
"startDate": "20210208",
"endDate": "20221110",
"paymentFreq": "e0Y e1M e0W o15D e0F",
"paymentType": "INTEREST.ONLY",
"paymentMethod": "CAPITALISE",
"billType": "INSTALLMENT",
"property": "PRINCIPALINT",
"marginOper": "ADD",
"marginType": "SINGLE",
"marginRate": "1",
"linkedArrangement": "AA21039GMN66",
"rateTierType": "SINGLE",
"payinAccount": "4000921",
"payoutAccount": "4000215",
"fixedAmount": "0",
"limitReference": "20601",
"limitSerial": "02",
"paymentOfficer": "21100",
"chargeRate": "0.20",
"fixedAmount": "0.00",
"paymentOfficer": "21100"
}
}